package Demo2;

public class Card {
    private String suit;
    private int number;

    public Card(String suit, int number) {
        this.suit = suit;
        this.number = number;
    }

    @Override
    public String toString() {
        return suit + number + " ";
    }
}
